package Play;

import java.util.Random;

public class Dice {
	/*int[] D1 = new int[6];
	int[] D2 = new int[6];*/
	
	Random ran = new Random();
	private String[] colours = new String[]{"Verde", "Blu", "Rosso", "Nero", "Bianco", "Giallo"};
	private String colour;
	
	public String[] throwDices (){
	int[] values = new int[]{ran.nextInt(6), ran.nextInt(6)};
	
	if (values[0]==values[1]){
		return new String[]{colours[values[0]]};
		
	}else{
		
		return new String[]{colours[values[0]],colours[values[1]] };
		
		
	}
	
	}
	
}
